package com.itheima.springbootdeploy;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/user")
@RestController
public class UserController {

    @Value("11")
    private String name;

    @RequestMapping("/findAll")
    public String findAll(){
        return "success";
    }
}
